namespace Medical.ErrorCode
{
    /// <summary>
    /// API响应状态枚举
    /// </summary>
    public enum ApiEnums
    {
        /// <summary>
        /// 成功(200)
        /// </summary>
        Success=200,
        
        /// <summary>
        /// 失败(500)
        /// </summary>
        Fail=500,
        
        /// <summary>
        /// 资源未找到(404)
        /// </summary>
        NotFound=404,
        
        /// <summary>
        /// 服务器错误(502)
        /// </summary>
        Error=502,
        
        /// <summary>
        /// 部分成功(206)
        /// </summary>
        PartialSuccess=206,
    }
}
